home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / src / gas-211 / gas / config / obj-ecof.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-30  |  1.6 KB  |  45 lines

  1. /* ECOFF object file format header file.
  2.    Copyright (C) 1993 Free Software Foundation, Inc.
  3.    Contributed by Cygnus Support.
  4.    Written by Ian Lance Taylor <ian@cygnus.com>.
  5.  
  6.    This file is part of GAS.
  7.  
  8.    GAS is free software; you can redistribute it and/or modify
  9.    it under the terms of the GNU General Public License as published by
  10.    the Free Software Foundation; either version 2, or (at your option)
  11.    any later version.
  12.  
  13.    GAS is distributed in the hope that it will be useful,
  14.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.    GNU General Public License for more details.
  17.  
  18.    You should have received a copy of the GNU General Public License
  19.    along with GAS; see the file COPYING.  If not, write to
  20.    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  21.  
  22. #define OBJ_ECOFF 1
  23.  
  24. #include "targ-cpu.h"
  25.  
  26. /* For each gas symbol we keep track of which file it came from, of
  27.    whether we have generated an ECOFF symbol for it, and whether the
  28.    symbols is undefined (this last is needed to distinguish a .extern
  29.    symbols from a .comm symbol).  */
  30.  
  31. #define TARGET_SYMBOL_FIELDS \
  32.   struct efdr *ecoff_file; \
  33.   char ecoff_symbol; \
  34.   char ecoff_undefined;
  35.  
  36. /* This is used to adjust the symbol value by the vaddr of the
  37.    section.  */
  38. extern void ecoff_frob_symbol PARAMS ((struct symbol *symp));
  39. #define obj_frob_symbol(symp, punt) ecoff_frob_symbol (symp)
  40.  
  41. /* This is used to write the symbolic data in the format that BFD
  42.    expects it.  */
  43. extern void ecoff_frob_file PARAMS ((void));
  44. #define obj_frob_file() ecoff_frob_file ()
  45.